package com.jic.purchase.model.vo.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@ApiModel(description = " 采购合同表实体类")
public class PurchaseContractRequest extends BaseEntityRequest {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")

    private Long id;
    // @NotEmpty(message = "合同名称") 
    @ApiModelProperty(notes = "合同名称")

    private String name;
    // @NotEmpty(message = "业务类型：1-采购单；2-代销单；3-经销单；") 
    @ApiModelProperty(notes = "业务类型：1-采购单；2-代销单；3-经销单；")

    private Integer busiType;
    // @NotEmpty(message = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；") 
    @ApiModelProperty(notes = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；")

    private String busiCode;
    // @NotEmpty(message = "合同编码") 
    @ApiModelProperty(notes = "合同编码")

    private Long code;
    // @NotEmpty(message = "商家编码（采购单位）") 
    @ApiModelProperty(notes = "商家编码（采购单位）")

    private String merchantCode;
    // @NotEmpty(message = "商家名称") 
    @ApiModelProperty(notes = "商家名称")

    private String merchantName;
    // @NotEmpty(message = "合同属性：0-自采合同；") 
    @ApiModelProperty(notes = "合同属性：0-自采合同；")

    private String type;
    // @NotEmpty(message = "生效开始时间；") 
    @ApiModelProperty(notes = "生效开始时间；")

    private Date startTime;
    // @NotEmpty(message = "生效结束时间；") 
    @ApiModelProperty(notes = "生效结束时间；")

    private Date endTime;
    // @NotEmpty(message = "创建人Id")
    @ApiModelProperty(notes = "创建人姓名")

    private String tradeCurrency;
    // @NotEmpty(message = "状态：0-有效；1-无效；") 
    @ApiModelProperty(notes = "状态：0-有效；1-无效；")

    private String status;
    // @NotEmpty(message = "供应商编码") 
    @ApiModelProperty(notes = "供应商编码")

    private String supplierCode;
    // @NotEmpty(message = "供应商名称") 
    @ApiModelProperty(notes = "供应商名称")

    private String supplierName;

    private String ids;

    private Date startTimeStartDate;
    private Date startTimeEndDate;
    private Date endTimeStartDate;
    private Date endTimeEndDate;
}
